package qc.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * EHS隐患原因枚举
 *
 * @author QuCheng Tech
 * @since 2024/5/22
 */
@Getter
@AllArgsConstructor
public enum EhsHiddenTroubleCauseEnum {
    HUMAN(1, "人的不安全行为"),
    MATTER(2, "物的不安全状态"),
    ENVIRONMENT(4, "环境因素"),
    MANAGEMENT(8, "管理上的缺陷");

    @EnumValue
    private int index;
    private String name;
}
